def l = [0, 1, 2, 3, 4]
a = l.find { it == 0 }
